package redis.inaction.clients.configuration;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import redis.inaction.clients.ops.JedisOps;
import redis.inaction.clients.ops.LettuceOps;

@Configuration
public class ClientOpsConfiguration {

    @Bean
    public ObjectMapper objectMapper(){
        return new ObjectMapper();
    }

    @Bean
    public JedisOps jedisOps(){
        return new JedisOps();
    }

    @Bean
    public LettuceOps lettuceOps(){
        return new LettuceOps();
    }

}
